package com.hsy.linemoney.apiservice;

/**
 * 网络请求回调接口
 * Created by MartinKent on 2016/9/8.
 */
public interface Callback<T> {
    void onSuccess(final int what, final T result);

    void onError(final int what, final int type, final String msg, final Exception e);
}
